package com.ity.teamanagement.entity.outputResult;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author coderFu
 * @create 2021/5/24
 */
@Data
@ApiModel("茶种详情信息实体")
public class TeaDetailsMessage {

    @ApiModelProperty("自增id")
    private Long id;

    @ApiModelProperty("中文名")
    private String chineseName;

    @ApiModelProperty("拉丁名")
    private String latinName;

    @ApiModelProperty("种植时间")
    private String growYear;

    @ApiModelProperty("封面图片")
    private String coverPath;

    @ApiModelProperty("封面id")
    private Long coverImgId;

    @ApiModelProperty("说明概要")
    private String abstractMessage;

    @ApiModelProperty("等级")
    private String grade;

    @ApiModelProperty("来源省份")
    private String province;

    @ApiModelProperty("来源市")
    private String city;

    @ApiModelProperty("来源县区")
    private String county;

    @ApiModelProperty("详细位置")
    private String address;

    @ApiModelProperty("品种介绍")
    private String varietyIntroduce;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    private Date createTime;

    @ApiModelProperty("是否名贵品种 1是 0 不是")
    private Long rareVariety;

    @ApiModelProperty("茶种图片")
    private List<TeaImgVo> teaImgList;

    @ApiModelProperty("文章图片")
    private List<ArticleImg> articleImgList;

}
